package com.changwu.cwbase.AppTest.DesignPattern;

/**
 * Created by changwu on 2018/10/13.
 */

public class SingletonDesign {
    private static SingletonDesign instance;
    private SingletonDesign (){
    }
    public static SingletonDesign getInstance() {
        if (instance == null) {
            instance = new SingletonDesign();
        }
        return instance;
    }
}
